<include file="Public:header" />
<link type="text/css" href="__CSS__/estate.css" rel="stylesheet" />
<link href="__JS__/xqjs/css/style.css" rel="stylesheet" />
<script type="text/javascript" src="__JS__/xqjs/js/script.js"></script>
<div class="main">
<include file="Estate:head" />
<div style="margin-top:10px;">
    <div class="xq_jj_l">
        <div class="xq_zbxx">
            <h1>基本信息</h1>
            <table class="xq_tab">
                <tr>
                    <td class="td_t">二手房源</td>
                    <td><a href="{:U('Estate/used',array('id'=>$estate['id']))}">{$estate.sell_count}</a>套</td>
                    <td class="td_t">出租房源</td>
                    <td><a href="{:U('Estate/rental',array('id'=>$estate['id']))}">{$estate.lease_count}</a>套</td>
                </tr>
                <tr>
                    <td class="td_t">停车位</td>
                    <td>{$data.chewei}</td>
                    <td class="td_t">绿化率/容积率</td>
                    <td>{$data.lhl}/{$data.rjl}</td>
                </tr>
                <tr>
                    <td class="td_t">楼盘类型</td>
                    <td>{$data.wylx}</td>
                    <td class="td_t">建筑年代</td>
                    <td>{$estate.years}</td>
                </tr>
                <tr>
                    <td class="td_t">总户数</td>
                    <td>{$data.hushu}</td>
                    <td class="td_t">总栋数</td>
                    <td>{$data.zds}</td>
                </tr>
                <tr>
                    <td class="td_t">开?发?商</td>
                    <td>{$data.kfs}</td>
                    <td class="td_t">产　　权</td>
                    <td>{$data.chanquan}</td>
                </tr>
                <tr>
                    <td class="td_t">建筑类别</td>
                    <td>{$data.jzlb}</td>
                    <td class="td_t">装修情况</td>
                    <td>{$data.zxqk}</td>
                </tr>
                <tr>
                    <td class="td_t">小区地址</td>
                    <td colspan="3">{$estate.address}</td>
                </tr>
                <tr>
                    <td class="td_t">楼层状况</td>
                    <td colspan="3">{$data.lczk}</td>
                </tr>
                <tr>
                    <td class="td_t">物业费</td>
                    <td colspan="3">{$data.wyf}</td>
                </tr>
                <tr>
                    <td class="td_t">物业公司</td>
                    <td colspan="3">{$data.wygs}</td>
                </tr>
                <tr>
                    <td class="td_t">道路交通</td>
                    <td colspan="3">{$data.dljt}</td>
                </tr>
            </table>
        </div>
        <div class="line"></div>
        <div class="xq_zbxx">
            <h1>配套信息</h1>
            <table class="xq_tab">
                <php>if($data['sypt']){</php>
                <tr>
                    <td class="td_t">商业配套</td>
                    <td colspan="3">{$data.sypt}</td>
                </tr>
                <php>}</php>
                <php>if($data['nbpt']){</php>
                <tr>
                    <td class="td_t">内部配套</td>
                    <td colspan="3">{$data.nbpt}</td>
                </tr>
                <php>}</php>
                <php>if($data['zbsy']){</php>
                <tr>
                    <td class="td_t">周边商业</td>
                    <td colspan="3">{$data.zbsy}</td>
                </tr>
                <php>}</php>
                <php>if($data['zbjg']){</php>
                <tr>
                    <td class="td_t">周边景观</td>
                    <td colspan="3">{$data.zbjg}</td>
                </tr>
                <php>}</php>
                <php>if($data['zbyy']){</php>
                <tr>
                    <td class="td_t">周边医院</td>
                    <td colspan="3">{$data.zbyy}</td>
                </tr>
                <php>}</php>
                <php>if($data['zbxx']){</php>
                <tr>
                    <td class="td_t">周边学校</td>
                    <td colspan="3">{$data.zbxx}</td>
                </tr>
                <php>}</php>
            </table>
        </div>
        <div class="xq_jj">
            <div class="xq_t"><b>小区介绍</b></div>
            <div class="xq_jj_info">
                {$estate.info}
            </div>
        </div>
    </div>
    <div class="xq_jj_r">
        <php>if($used_list){</php>
        <div class="xq_tjrs">
            <h1 class="n_h_title"><span class="more"><a href="{:U('Estate/used',array('id'=>$estate['id']))}">更多</a></span><span class="s_bg_line">本小区二手房</span></h1>
            <table class="xq_i_tab">
                <tr>
                    <th class="th1">名称</th>
                    <th class="th2">面积</th>
                    <th class="th3">户型</th>
                    <th class="th4">售价</th>
                </tr>
                <volist name='used_list' id='vo'>
                <tr class="tr1">
                    <td class="td1"><a target="_blank" title="{$vo.title}" href="{:U('Used/detail',array('id'=>$vo['id']))}">{$vo.title}</a></td>
                    <td>{$vo.area}㎡</td>
                    <td>{$vo.room}房{$vo.hall}厅</td>
                    <td>{$vo.total_price}万</td>
                </tr>
                </volist>
            </table>
        </div>
        <php>}</php>
        <php>if($rental_list){</php>
        <div class="line"></div>
        <div class="xq_tjrs">
            <h1 class="n_h_title"><span class="more"><a href="{:U('Estate/rental',array('id'=>$estate['id']))}">更多</a></span><span class="s_bg_line">本小区出租房</span></h1>
            <table class="xq_i_tab">
                <tr>
                    <th class="th1">名称</th>
                    <th class="th2">面积</th>
                    <th class="th3">户型</th>
                    <th class="th4">租金</th>
                </tr>
                <volist name='rental_list' id='vo'>
                    <tr class="tr1">
                        <td class="td1"><a target="_blank" title="{$vo.title}" href="{:U('Rental/detail',array('id'=>$vo['id']))}">{$vo.title}</a></td>
                        <td>{$vo.area}㎡</td>
                        <td>{$vo.room}房{$vo.hall}厅</td>
                        <td>{$vo.price}元</td>
                    </tr>
                </volist>
            </table>
        </div>
        <php>}</php>
        <div class="line"></div>
        <div class="xq_tjrs">
            <h1 class="n_h_title"><span class="s_bg_line">同区域小区</span></h1>
            <ul>
                <volist name='area_list' id='vo'>
                    <li><a href="{:U('Estate/detail',array('id'=>$vo['id']))}" target="_blank">{$vo.title}</a></li>
                </volist>
            </ul>
        </div>

    </div>
</div>
<div style="float: none;clear: both;height: 10px;"></div>
    <php>if($estate['map']){</php>
    <div class="introduce_house03 overflow_h">
        <h1 class="n_h_title"><span id="map" class="s_bg_line">地理位置</span></h1>
        <div style="height: 500px;margin-top:10px;overflow: hidden;width: 1180px;">
            <iframe width="860" height="auto" frameborder="0" scrolling="no" src="{:U('Api/map',array('id'=>$estate['id'],'model'=>'estate'))}" id="main" style="height: 500px; width: 1180px;"></iframe>
        </div>
    </div>
    <php>}</php>
<include file="Public:footer" />